package com.srwl.mytx.domain;

/**
 * 搜索数据的实体类
 */
public class SearchDataItem {
    public static final Integer SEARCH_HISTORY_ITEM_TYPE_TITLE_SEARCH_HISTORY = 0;  //历史搜索标题
    public static final Integer SEARCH_HISTORY_ITEM_TYPE_TITLE_SEARCH_HOTSPOT = 1;  //热点搜索标题
    public static final Integer SEARCH_HISTORY_ITEM_TYPE_LOCAL_CONTENT = 2;         //历史搜索数据
    public static final Integer SEARCH_HISTORY_ITEM_TYPE_REMOTE_CONTENT = 3;        //热门搜索数据

    private String content;
    private Integer type;

    public SearchDataItem(String content, Integer type) {
        this.content = content;
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
